search bar: Clean up weak pointer handling
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 15:46:16 +0000 (11:46 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 15:46:16 +0000 (11:46 -0400)
commita17d6290e404857a1f4bf021d8635a3a1eb9ee19
treec76c9c9448f6d53782e0238b0488be9b0acb4975
parentb55aa154e636237fc7ffbb488bda864cb7c2f650
search bar: Clean up weak pointer handling

Break out a setter that manages the weak pointer, and
use it in finalize. This also fixes a bug where we were
forgetting to disconnect the right signal handler in
some cases.
gtk/gtksearchbar.c